{% extends "layout.html" %}

{% block title %}Détail de l'offre mobile{% endblock %}

{% block content %}



<form method="post" class="form-horizontal">
<div class="row">
	
	 <!-- Première colonne -->
	<div class="span12">
	
	  <fieldset>
		<legend>Informations sur l'offre</legend>
		<input name="id" type="hidden" value="{{offre.id}}" class="uneditable-input"/>
	
	  <div class="control-group">
		<label class="control-label" for="code_article">Code article</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="code_article" type="text" value="{{offre.code_article}}"/> 
		</div>
	  </div>
	  </div>
      
      <div class="control-group">
		<label class="control-label" for="nom">Nom</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="nom" type="text" value="{{offre.nom}}"/> 
		</div>
	  </div>
	  </div>
      
      <div class="control-group">
		<label class="control-label" for="temps">Voix</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="temps" type="text" value="{{offre.temps}}"/> 
		</div>
	  </div>
	  </div>
      
      <div class="control-group">
		<label class="control-label" for="sms">SMS</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="sms" type="text" value="{{offre.sms}}"/> 
		</div>
	  </div>
	  </div>
      
      <div class="control-group">
		<label class="control-label" for="data">DATA</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="data" type="text" value="{{offre.data}}"/> 
		</div>
	  </div>
	  </div>
      
       <div class="control-group">
		<label class="control-label" for="other">Others</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="other" type="text" value="{{offre.other}}"/> 
		</div>
	  </div>
	  </div>
      <!--
      <div class="control-group">
		<label class="control-label" for="prix_avec_equipement">Prix avec équipement</label>
        <div class="controls">
		<div class="input-prepend">
           <input name="prix_avec_equipement" type="text" value="{{offre.prix_avec_equipement}}"/> 
		</div>
	  </div>
	  </div>
-->
   
		<div class="form-actions">
                      
                      <button type="submit" class="btn btn-primary" name="action" value="update">Mise à jour de l'offre</button>
                      
   		<div class="btn-group">
					  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						Actions
						<span class="caret"></span>
					  </a>

						<ul class="dropdown-menu">
							
                            <li><a href="achat-offre-mobile"><i class="icon-eye-open"></i> Afficher la liste des offres</a></li>
                         <li class="divider"></li>
							<li><a href="achat-offre-mobile-creation"><i class="icon-shopping-cart"></i>Créer une nouvelle offre </a></li>
							
					  </ul>
		</div>
		</div>
	</div>
</div>   
	
</form>

{% endblock %}
	
